package org.oss.client.dto;

import java.io.File;
import java.io.InputStream;

public class UploadRequest extends BaseRequest{
	private String fileName;
	private File file;
	private InputStream input;
	public UploadRequest(File f, String name) {
		this.file=f;
		this.fileName=name;
	}
	public File getFile() {
		return file;
	}
	public UploadRequest setFile(File file) {
		this.file = file;
		return this;
	}
	public InputStream getInput() {
		return input;
	}
	public UploadRequest setInput(InputStream input) {
		this.input = input;
		return this;
	}
	public String getFileName() {
		return fileName;
	}
	public UploadRequest setFileName(String fileName) {
		this.fileName = fileName;
		return this;
	}
	
}
